// index.ts
// 获取应用实例
const app = getApp<IAppOption>()

Page({
    data: {

    },
    jump(){
        wx.navigateTo({
            url:'/pages/login/login'
        })
    },
    jump2(){
        wx.navigateTo({
            url:'/pages/address/address'
        })
    },
    onLoad() {
        app.http.getHttp(app.api.getAdvertise, {}, (_result: any) => {

        }, (err: any) => {
            console.log(err);
        })
    },
})
